package behavior.mediator;

import behavior.mediator.country.ShuguoInternational;
import behavior.mediator.country.WeiguoInternational;

public class Demo {

    public static void main(String[] args) {
        Messenger messenger = new MessengerImpl();
        messenger.inform(new WeiguoInternational(), "我要攻打蜀国啦");
        messenger.inform(new ShuguoInternational(), "我去你的吧，魏国，儿子快过来");
    }
}
